package virtorina.server.domain;

import java.io.Serializable;
import java.util.LinkedList;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

public class Info implements Serializable {

	private static final long serialVersionUID = 1L;
	private Question q;
	private LinkedList<String> winners;
	private long nextTime;
	private long duration;

	public Info(Question q, LinkedList<String> winners, long l) {
		this.setQ(q);
		this.setWinners(winners);
		this.setNextTime(l);
	}

	public LinkedList<String> getWinners() {
		return winners;
	}

	public void setWinners(LinkedList<String> winners) {
		this.winners = winners;
	}

	public long getNextTime() {
		return nextTime;
	}

	public void setNextTime(long nextTime) {
		this.nextTime = nextTime;
	}

	public long getDuration() {
		return duration;
	}

	public void setDuration(long duration) {
		this.duration = duration;
	}

	public Question getQ() {
		return q;
	}

	public void setQ(Question q) {
		this.q = q;
	}
}
